package com.zch.spring_demo.work.base;

import com.zch.spring_demo.base.domain.BaseDomain;
import com.zch.spring_demo.base.service.BaseServiceImpl;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author biscuit
 * @data 2018/01/23
 * 所有service接口实现类的父类
 * 使实际开发的service实现类和BaseServiceImpl对接，确定主键为Long类型，项目中不需要再指定主键的类型
 */
public class WorkServiceImpl<CLZ extends JpaRepository<T, Long>,T extends BaseDomain> extends BaseServiceImpl<Long,CLZ ,T > {
    public WorkServiceImpl(CLZ clz) {
        super(clz);
    }
}
